package com.hy.study.dto;


import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import java.io.Serializable;
import java.util.Date;

/**
 * @author huyong
 * @date 2024 年 01 月 08 日 9:15: 02
 */
@Data
@Entity
public class Task implements Serializable {
    @Id
    private long id;
    @Column(name = "task_name")
    private String taskName;

    @Column(name = "creation_date")
    private Date creationDate;


}
